﻿@using Exam.Model
@{
    List<Exam.Model.SysMenu> listPage = ViewData["LoginPages"] as List<Exam.Model.SysMenu>;
    Exam.Model.UserInfo user = ViewData["UserInfo"] as Exam.Model.UserInfo;
}
@Html.Hidden("hidMainPageSession", ViewData["MainPageSession"])
<script>
    if ($("#hidMainPageSession").val() == "1") {
        top.location.href = "/Login/Error";
    }
</script>
<div class="user-panel">
    <div class="pull-left image">
        <img src="~/Resources/Images/logo.jpg" class="img-circle" alt="User Image">
    </div>
    <div class="pull-left info">
        <h4 style="font-family:Calibri;"><b>@user.EnglishName</b></h4>
    </div>
</div>
<!-- Sidebar Menu -->
<ul class="sidebar-menu">
    <li id="rightUser" class="treeview">
        <a href="javascript:void(0)"><i class="fa fa-user"></i><span>User Management</span> <i class="fa fa-angle-left pull-right"></i></a>
        <ul class="treeview-menu">
            <li id="userinfo"><a href="/Userinfo/Index"><i class="fa fa-user-md"></i>User Info</a></li>
            <li id="role"><a href="/Role/RoleList"><i class="fa fa-circle-o"></i>Role Info</a></li>
        </ul>
    </li>
    <li id="rightResources" class="treeview">
        <a href="javascript:void(0)"><i class="fa fa-list"></i><span>Master Data  Management</span> <i class="fa fa-angle-left pull-right"></i></a>
        <ul class="treeview-menu">
            <li><a id="Province" href="/Province/ProvinceList"><i class="fa fa-tag"></i>Province Management</a></li>
            <li><a id="City" href="/City/CityList"><i class="fa fa-tag"></i>City Management</a></li>
            <li><a id="MeetingRoom" href="/MeetRoom/RoomList"><i class="fa fa-tag"></i>MeetingRoom Management</a></li>
            <li><a id="ContentType" href="/ContentType/TypeList"><i class="fa fa-tag"></i>Test Item Content Type Management</a></li>
        </ul>
    </li>
    <li id="rightReport" class="treeview">
        <a href="javascript:void(0)"><i class="fa fa-file-text"></i><span>Report</span> <i class="fa fa-angle-left pull-right"></i></a>
        <ul class="treeview-menu">
            <li><a id="Report" href="/Report/CountByDistrict"><i class="fa fa-tag"></i>Headcount by District</a></li>
            <li><a id="Report" href="/Report/CountByModality"><i class="fa fa-tag"></i>Headcount by Modality</a></li>
            <li><a id="Report" href="/EHSReports/ESHTrainRp"><i class="fa fa-tag"></i>放射培训及工作证汇总表</a></li>
            <li><a id="Report" href="/EHSReports/ESHMeasurementRp"><i class="fa fa-tag"></i>放射计量卡统计</a></li>
            <li><a id="Report" href="/EHSReports/ESHHealthRp"><i class="fa fa-tag"></i>职业健康汇总表</a></li>
        </ul>
    </li>
    <li id="rightTemplates" class="treeview">
        <a href="javascript:void(0)"><i class="fa fa-clipboard"></i><span>Templates Management</span> <i class="fa fa-angle-left pull-right"></i></a>
        <ul class="treeview-menu">
            <li><a href="~/resources/CSStaff/file/Template/User%20Profile%20Upload%20Template.xls"><i class="fa  fa-file-powerpoint-o"></i>User Template File</a></li>
        </ul>
    </li>
    <li id="rightSystem" class="treeview">
        <a href="javascript:void(0)"><i class="fa fa-th"></i><span>System Management</span> <i class="fa fa-angle-left pull-right"></i></a>
        <ul class="treeview-menu">
            <li><a id="Records" href="/Records/RecordsList"><i class="fa fa-file-o"></i>User Profile Upload Log</a></li>
            <li><a id="Records" href="/ActionLog/Load"><i class="fa fa-file-o"></i>Operation Log</a></li>
        </ul>
    </li>
</ul>
